<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{$page['title']}</title>
		<link href="__PUBLIC__/default/css/global.css" rel="stylesheet" type="text/css" />
		<link href="__PUBLIC__/default/css/cennter.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/default/css/link.css" rel="stylesheet" type="text/css" />
        <script src="__PUBLIC__/js/jquery-1.3.2.min.js"></script>
        <meta name="keywords" content="{$page['keywords']}" />
        <meta name="description" content="{$page['description']|strip_tags}" />
		<script type="text/javascript">
		var HOST		= window.location.host;
		var Per_host	="http://"+HOST;
		var JS_PATH		="../Public/js/";
		var IMG_PATH	="../Public/images/";
		var URL			='__URL__';
		var APP			='__APP__';
		var PUBLIC		='../Public/';
		var REQUEST_URI ='{$_SERVER.REQUEST_URI}';
		</script>
		<script src="__PUBLIC__/js/iic.js"></script>
<if condition="$info['maps']">
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;hl=en&amp;key={&GOOGLE_MAP_API}" type="text/javascript"></script>
<script type="text/javascript">
function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        var geocoder = new GClientGeocoder();
        var address = "{$info['maps']}"
        map.addControl(new GSmallMapControl());
        geocoder.getLatLng(address, function(point) {
                if (!point) {
                  $("#map").html('Map Unavailable!');
                }else{
                  map.setCenter(point, 13);
                  var marker = new GMarker(point);
                  map.addOverlay(marker);
                  //marker.openInfoWindowHtml("{$info['maps']}<br>{$info['contact']}");
                }
          });
      }
    }
</script>
</if>
<link rel="stylesheet" href="__PUBLIC__/js/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script src="__PUBLIC__/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
</head>
<body <if condition="$info['maps']">onload="load()" onunload="GUnload()"</if>>
<!--top-->
<div id="top">
    <div id="header-h">
        <div class="header-left">
            <span>
			<empty name="Think.SESSION.uid">
				{$now} | <a href="__APP__/Public/login/to/{$tourl}">Login</a> / <a href="__APP__/Public/register/to/{$tourl}">Register</a></span>
			<else/>
				 Welcome {@username}!   {$now}  |  <a href="__APP__/Cp/index">Control Panel</a> / <a href="__APP__/Public/logout">Logout</a>
			</empty>
        </div>
        <div class="colorz">
        </div>
    </div>
    <div class="top-content">
        <div class="top-logo">
            <h1><a href="__APP__/select_city.html"><img src="__PUBLIC__/img/logo.jpg" alt="Being Fun China" /></a></h1>
            <div class="top-city">
                <h2><a href="__APP__/select_city/beijing/{:myencode('/CityGuide/index')}.html" class="cid <eq name="cid" value="beijing">on</eq>">Beijing</a></h2>
                <h2><a href="__APP__/select_city/shanghai/{:myencode('/CityGuide/index')}" class="cid <eq name="cid" value="shanghai">on</eq>">Shanghai</a></h2>
                <h2><a href="__APP__/select_city/guangzhou/{:myencode('/CityGuide/index')}" class="cid <eq name="cid" value="guangzhou">on</eq>">Guangzhou</a></h2>
                <h2><a href="__APP__/select_city/shenzhen/{:myencode('/CityGuide/index')}" class="cid <eq name="cid" value="shenzhen">on</eq>">Shenzhen</a></h2>
				<span style="float:left; margin-right:10px; font-size:10px; margin-top:8px;">
					<if condition="cookie('cid')">
						<a href="#" title="Remember my choice"><img src="__PUBLIC__/img/es2.gif" id="remember" class="remember_1" alt="Remember my choice" /></a>
					<else/>
						<a href="#" title="Remember my choice"><img src="__PUBLIC__/img/es.gif" id="remember" class="remember_0" alt="Remember my choice" /></a>
					</if>
					
				</span>
            </div>
			
        </div>
        <div class="clear">
        </div>
        <div class="top-nav">
        	<form action="__URL__/so.html">
            <div class="search" style="background-color:#ffffff;">
                <input type="text" name="key" style="width:190px; border:none;*border:#ffffff;" /> <input type="image" src="__PUBLIC__/default/images/so.gif" style="margin-top:2px;" />
            </div>
            </form>
            <div class="nav">
                <ul>
                    <li <if condition="$Think.MODULE_NAME=='Index'">class="annv"</if>><a href="/index<if condition="$cid">/{$cid}</if>.html">Home</a></li>
					<li <eq name="Think.MODULE_NAME" value="CityGuide"> class="annv"</eq>><a href="__APP__/cityguide<if condition="$cid">/{$cid}</if>.html">City Guide</a></li>
                    <li <if condition="$Think.MODULE_NAME=='Classifieds'">class="annv"</if>><a href="__APP__/classifieds<if condition="$cid">/{$cid}</if>.html">Classifieds</a></li>
                    <li <eq name="Think.MODULE_NAME" value="Biz"> class="annv"</eq>><a href="__APP__/biz.html">China Fairs</a></li>
					<li <eq name="Think.MODULE_NAME" value="Event"> class="annv"</eq>><a href="__APP__/event<if condition="$cid">/{$cid}</if>.html">Events</a></li>
                    <li <eq name="Think.MODULE_NAME" value="Magazine"> class="annv"</eq>><a href="__APP__/Magazine/index.html">Magazines</a></li>
                    <li <eq name="Think.MODULE_NAME" value="Group"> class="annv"</eq>><a href="__APP__/group.html">Groups</a></li>
                </ul>
            </div>
        </div>
        <div class="bgh"></div>
    </div>
    <div class="clear">
    </div>
</div>
<!--top-->
<div id="main">
    <div class="right">
<if condition="$posts">
        <div class="next_lssue">
            <div class="next-bg">
                Relevant Information
            </div>
            <div class="next-n">
                <ul>
	<volist name="posts" id="v">
                    <li>
                       
                    </li>
	</volist>
                </ul>
            </div>
        </div>
</if>
<if condition="$group">
        <div class="main-group">
            <div class="main-bg">
                Relevant Groups
            </div>
        <volist name="group" id="g">
               <dl class="group-x">
                    <dt><a href="__APP__/grps/{$g['id']}/{$g['groupname']|str_to_url}.html"><img src="{$g['pic']|toImg=group}" alt="{$g['groupname']}" /></a></dt>
                    <dd>
                        <h5><a href="__APP__/grps/{$g['id']}/{$g['groupname']|str_to_url}.html" title="{$g['groupname']}">{$g['groupname']}</a></h5>
                        <p>Member:{$g['membernum']}<br/>Topic:{$g['threadnum']}</p>
                    </dd>
                </dl>
		</volist>
        </div>
</if>
        <div class="main-group m10">
        	{$ad['right']}
            <div style="text-align:center;">
				<br>
                <script type="text/javascript">
                google_ad_client = "pub-0787067378614221";
                /* 200x200, 创建于 10-8-27 cityguide_classifieds_c_r */
                google_ad_slot = "5468157928";
                google_ad_width = 200;
                google_ad_height = 200;
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script>
            </div>
        </div>
    </div>
    <div class="n-life">
        <div class="classifieds_content">
            <div class="content-bg">
            	<if condition="$cp"><span style="float:right; margin-right:10px;">{$cp}</span></if>
                <a href="/">Home</a> > <a href="__APP__/cityguide/{$cid}.html">City Guide</a> > 
				<if condition="$dh[_reid]"><a href="__APP__/cglist/{$dh[_reid]['id']}/{$cid}/{$dh[_reid]['typename']|str_to_url}.html">{$dh[_reid]['typename']}</a> ></if>
				<a href="__APP__/cglist/{$dh['id']}/{$cid}/{$dh['typename']|str_to_url}.html">{$dh['typename']}</a>
                
            </div>
            <div class="content-n">
            	 <h1>{$info['title']}</h1>
                 
                    <div class="right album">
                    	<if condition="$info['picurl']">
                            <a href="{$info['picurl']|toImg=cityguide}" rel="prettyPhoto[unusual]"><img src="{$info['picurl']|toImg=cityguide}" alt="{$info['title']}" class="iic_img" /></a>
						</if>
                        <p>
                        <if condition="$info['albumnum']==0">
                        
                        <else/>
                            <volist name="album" id="va">
                                <if condition="$i==1">
                                <a href="{$va|out_images}" title="{$va['title']}" rel="prettyPhoto[unusual]">{$info['albumnum']} pictures</a>
                                <else/>
                                <a href="{$va|out_images}" title="<b>{$va['title']}</b><br/>{$va['msg']}" style="display:none;" rel="prettyPhoto[unusual]">{$va['title']}</a>
                                </if>
                            </volist>
                        </if>
                        </p>
                    </div>
                <div class="content-life">
                    <p>
                        {$info['my_content']}
                        <if condition="$info['keywords']"><br />Tags:{$info['keywords']}</if>
					</p>
					</div>
					<div class="i_content">
					<div class="con">
                        {$info['content']['content']}
                        
                    </div>
                    <ul>
                        <li id="1_{$info['channel']}_{$info['id']}" class="user_share">
                            <a href="__URL__/share/xid/{$info['id']}/xtype/{$info['channel']}" target="_blank">Share</a>
                        </li>
                        <li id="2_{$info['channel']}_{$info['id']}" class="user_collection">
                            <a href="javascript:void(0);">Save as favorite</a>
                        </li>
                        <li id="3_{$info['channel']}_{$info['id']}" class="user_report">
                           <a href="__APP__/Common/report/aid/{$info['channel']}_{$info['id']}">
                           Report corrections
                           </a>
                        </li>
                    </ul>
                </div>
          <div class="kuan">
                    <div class="gugou">
                    
                        <script type="text/javascript">
						google_ad_client = "pub-0787067378614221";
						/* 300x250, 创建于 10-8-27 cityguide */
						google_ad_slot = "4925910903";
						google_ad_width = 300;
						google_ad_height = 250;
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
                    </div>
                    <div class="ditu" id="map"></div>
                </div>
<if condition="$new_arc">
				<div class="clear"></div>
				<div class="new_arc">
                	<div class="biaoti">
                    
                        <span><a href="<if condition="$dh[_reid]">__APP__/cglist/{$dh[_reid]['id']}/{$cid}/{$dh[_reid]['typename']|str_to_url}.html<else/>__APP__/cglist/{$dh['id']}/{$cid}/{$dh['typename']|str_to_url}.html</if>"> >>More</a></span><h3>Latest Update</h3>
                    </div>
                	<ul>
                	<volist name="new_arc" id="new">
                    	<li><span>[{$new['typeid']|get_arctype}]</span><a href="__APP__/ctgs/{$new['id']}/{$new['title']|str_to_url}.html">• {$new['title']}</a></li>
                    </volist>
                    </ul>
                </div>
</if>
<if condition="$event">
				<div class="clear"></div>
				<div class="f_event">
                	<div class="biaoti">
                    
                        <span><a href="__APP__/event/{$v['id']}.html"> >>More</a></span><h3>Featured Events</h3>
                    </div>
                	<volist name="event" id="v">
                    	<if condition="$i lt 6">
                    	<dl>
                        <dt><a href="__APP__/evts/{$v['id']}/{$v['title']|str_to_url}.html"><img src="{$v['picurl']|toImg=event}" alt="{$v['title']}" /></a></dt>
                    	<dd><a href="__APP__/evts/{$v['id']}/{$v['title']|str_to_url}.html">{$v['title']}</a></dd>
                        </dl>
                        </if>
                    </volist>
                </div>
</if>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
	$(".album a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
});
</script>
<include file="Public:foot" />
